﻿namespace Complaint.Models.Dtos
{
    ///<summary>
    /// Represents a interface that implementing types can use to make shallow copies of themselves.
    ///</summary>
    ///<typeparam name="T">The Type of the instance to copy into.</typeparam>
    public interface IShallowCopy<T>
        where T : class
    {
        /// <summary>
        /// Shallow copies itself into the passed object.
        /// </summary>
        /// <param name="o">The object to copy into.</param>
        void Copy(ref T o);
    }
}
